<template>
  <div class="app-container bg-white">
      <el-tabs v-model="activeName">
        <el-tab-pane label="商户列表" name="1">
          <merchant-list></merchant-list>
        </el-tab-pane>
        <el-tab-pane label="审核列表" name="2">
          <merchant-review></merchant-review>
        </el-tab-pane>
      </el-tabs>
  </div>
</template>

<script>
import MerchantList from '@/views/merchant-management/components/merchantList';
import MerchantReview from '@/views/merchant-management/components/merchantReview';
export default {
  components: {
    MerchantList,
    MerchantReview
  },
  data() {
    return {
      activeName: '1'
    }
  },
  created() {
    if (this.$route.params.id)
      this.activeName = this.$route.params.id;
  }
}
</script>
